.main {
  position: relative;
  width: 100%;
  height: 100%;
  background: #eaeaea;
}

.main .headimg {
  width: 100%;
  height: 450px;
  overflow: hidden;
  box-shadow: 0px 0px 20px 3px #999;
  z-index: 1;
}
.main .headimg img{
  width: 100%;
  height: 100%;
  min-height: 200px;
}

.main .content {
  position: relative;
  top: -80px;
  width: 60%;
  height: auto;
  min-height: 40px;
  margin: 0 auto;
  background:#fff;
  z-index: 2;
  padding-top: 8px; 
  padding-bottom: 70px; 
  box-shadow: 1px 1px 14px -5px #585858;
  border-radius: 2px;
  overflow: hidden;
}

.main .content .catebox{
  width: 100%;
  text-align: center;
  position: relative;
  top: -1px;
  border-bottom: 1px solid #ddd;
  transition: border-color .2s ease-in-out;
}
.main .content .catebox ul{
  height: 28px;
  line-height: 28px;
}
.main .content .catebox ul li{
  display: inline-block;
  position: relative;
  width: 50px;
  cursor: pointer;
  transition: .15s ease-in;
  border: 1px solid transparent;
  border-bottom: none;
}
.main .content .catebox ul li a{
  color: #666;
  transition: .15s ease-in;
}
.main .content .catebox ul li a:hover{
  color: #000;
}
.main .content .catebox ul li.active{
  background: #fff;
  border: 1px solid #ddd;
  border-bottom: none;
}
.main .content .searchbox{
  position: relative;
  width: 100%;
  border-bottom: 1px solid #ddd;
}
.main .content .searchbox .search{
  width: 30%;
  margin: 0 auto;
  transition: .2s ease-in-out;
}
.main .content .searchbox .search input{
  width: calc(100% - 30px);
  height: 25px;
  margin: 15px 0;
  text-indent: 0.5em;
  font-size: 12px;
}
.main .content .searchbox .search input:focus { 
  outline: none;
} 
.main .content .searchbox .search a{
  display: inline-block;
  position: absolute;
  top: 15px;
  width: 30px;
  height: 27px;
  line-height: 27px;
  text-align: center;
  border: 1px solid #a9a9a9;
  border-left: none;
  background: transparent;
  color: #999;
  transition: .2s ease-in-out;
}
.main .content .searchbox .search a i{
  font-size: 14px;
}
.main .content .searchbox .search a:hover{
  color: #a9a9a9;
}


.main .content .goodsbox{
  position: relative;
  width: 100%;
  height: auto;
  margin-top: 8px;

}
.main .content .goodsbox .goods{
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  /* justify-content: space-between; */
  justify-content: center;
  width: 100%;
  padding-left: 25px;
}

.main .content .goodsbox .goods .goods-null{
  width: 100%;
  font-size: 16px;
  color: #666;
  margin: 25px 0;
  text-align: center;
  transition: 0.15s ease;
}
.main .content .goodsbox .goods .goods-null .show-all{
  color: #999;
  font-size: 12px;
  margin: 8px 0;
  cursor: pointer;
}

@media (max-width: 1630px) {
  .main .headimg {
    height: auto;
  }
  .main .content {
    width: 85%;
  }
  
}
@media (max-width: 750px) {
  .main .content {
    width: 95%;
  }
  .main .content .searchbox .search{
    width: 80%;
  }
}
@media (max-width: 400px) {
  .main .content .catebox ul li{
    width: 35px;
  }
}